import request from "../../../httpConfig/httpConfig";

export default {
    getHello() {//获取hello数据
        request.post('/hello').then(res => {
            console.log(res)
        })
    },
    registerUser(user) {// 注册用户
        return request.post('/user/register',user)
    },
    login(user) {// 用户登录
        return request.post('/user/login', user)
    }

}

